<%@ page import="com.ecomm.util.TreeNode,
                 com.ecomm.themes.newstyle.functiontree.MenuGenerator"
				%>

<%@page contentType="text/html;charset=utf-8"%>

<%@include file="/include/pageexpires.jsp"%>
<%@include file="/include/currentuserinfo.jsp"%>
<%@include file="/include/filepath.jsp"%>


<html xmlns:ecomm>
<head>
<title>OA系统_功能树列表</title>

<style type="text/css">
ecomm\:tree
{
    behavior:url('<%=currentStylePath%>tree/tree51.htc');
}
</style>
<link type="text/css" rel="stylesheet" href="<%=currentSkinCss%>" id="menuStyleSheet">
<script type="text/javascript" src="<%=ctxpath%>/themes/newstyle/javascript/menu3.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
//点击页面菜单隐藏
document.onclick = function()
{
        if(window.top.hideAllMenuScriptlets)
        {
            window.top.hideAllMenuScriptlets();
        }
}


</script>
</head>

<body  topmargin="0" leftmargin="0" bgcolor="#ffffff" id="leftbody" bgproperties="fixed" scroll="auto">

<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="tree">
  <tr>
    <td valign="top" nowrap class="tree_td_top">
	<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tree_top">
        <tr>
          <td class="left"></td>
          <td valign="top" nowrap class="middle"></td>
          <td class="right"></td>
        </tr>
      </table>
      <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tree_middle">
        <tr>
          <td class="left"><img src="<%=currentStylePath%>tree/left_txt.gif"></td>
          <td valign="top" nowrap class="middle">
			<%
		        String functionid=request.getParameter("functionid");
		        if(functionid!=null)
		        {
		            TreeNode node=sessionmng.getTreeNodeByID(functionid);
		            if(node!=null)
		            {
		                MenuGenerator generator=new MenuGenerator();
		                out.println(generator.treeGenerator(node,ctxpath));
		            }
		        }
		    %>			
          </td>
          <td class="right"></td>
        </tr>
      </table>
      </td>
  </tr>
  <tr>
    <td valign="bottom" nowrap class="tree_td_bottom">
	<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tree_bottom">
        <tr>
          <td class="left"></td>
          <td valign="top" nowrap class="middle"></td>
          <td class="right"></td>
        </tr>
      </table>
	  </td>
  </tr>
</table>
</body>
</html>
